#ifndef REGISTER_H
#define REGISTER_H

#include <QWidget>
#include <QObject>
#include "./Common/usermanagement.h"
#include "./Common/sqlmanagement.h"
#include "./Common/Logger.hpp"

namespace Ui {
class Register;
}

class SQLManagement;
class UserManagementBase;
class PatientManagement;
class DoctorManagement;

class Register : public QWidget
{
    Q_OBJECT

public:
    explicit Register(QWidget *parent = nullptr);
    ~Register();
public slots:
    void register_btn_clicked();
    void quit_btn_clicked();

private:
    Ui::Register *ui;
    SQLManagement* sql_management;
    UserManagementBase* user_management;
    DoctorManagement* doctor_management;
    PatientManagement* patient_management;
};

#endif // REGISTER_H
